/**
 * 
 */
package game.kill.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import game.kill.mapper.StepActionRecordMappper;
import game.kill.model.StepActionRecord;
import game.kill.service.StepActionRecordService;

/**
 * @author leiruiqi
 *
 */
@Service("stepActionRecordService")
public class StepActionRecordServiceImpl implements StepActionRecordService{

	@Resource
	private StepActionRecordMappper stepActionRecordMapper;
	
	@Override
	public void save(StepActionRecord stepAction) {
		stepActionRecordMapper.insert(stepAction);
		
	}

	@Override
	public List<StepActionRecord> queryByCondition(StepActionRecord stepAction) {
		// TODO Auto-generated method stub
		return stepActionRecordMapper.select(stepAction);
	}

}
